Socket
Socket
Sign inDemoInstall

nano-option

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nano-option

Create a nano adapter if option is not already a nano adapter. Also set X-Couch-Full-Commit header.


Version published
Weekly downloads
397
increased by32.33%
Maintainers
1
Weekly downloads
 
Created
Source

nano-option

Create a nano adapter if option is not already a nano adapter. Also set X-Couch-Full-Commit header.

Used within the couchdb-bootstrap suite.

Usage

var nanoOption = require('nano-option')

// This is all equivalent:
nanoOption('http://localhost:5984/mydb')
nanoOption(require('nano')('http://localhost:5984/mydb'))
nanoOption({
  url: 'http://localhost:5984/mydb',
  requestDefaults: {
    proxy: 'http://someproxy'
  }
})

Tests

npm test

Keywords

FAQs

Package last updated on 28 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc